﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PowerCalculation
{
    public class WireData
    {
        public int WireSection { get; set; }
        public int WireMaterial { get; set; }
        public int WireCoreCount { get; set; }
        

        public WireData(int section, int material, int wirecorecount)
        {
            WireSection = section;
            WireMaterial = material;
            WireCoreCount = wirecorecount;
        }

        public float WireAmperage()
        {
            return ElectricRepoStore.GetRepository().GetWireAmperage(WireMaterial, WireSection, WireCoreCount);
        }
    }
}
